package cn.chiship.framework.business.biz.business.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * 自定义表单配置表单
 * 2024/12/13
 *
 * @author LiJian
 */
@ApiModel(value = "自定义表单配置表单")
public class BusinessFormConfigDto {

    @ApiModelProperty(value = "主键", required = true)
    @NotEmpty(message = "主键")
    @Length(min = 1, max = 36)
    private String id;

    @ApiModelProperty(value = "表单设计内容", required = true)
    @NotEmpty(message = "表单设计内容")
    @Length(min = 1)
    private String formContent;

    @ApiModelProperty(value = "表单配置项", required = true)
    @NotEmpty(message = "表单配置项")
    @Length(min = 1)
    private String formOption;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFormContent() {
        return formContent;
    }

    public void setFormContent(String formContent) {
        this.formContent = formContent;
    }

    public String getFormOption() {
        return formOption;
    }

    public void setFormOption(String formOption) {
        this.formOption = formOption;
    }
}